package com.qujia.station.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
import java.util.List;

public class MarketActivity {

    @ApiModelProperty("促销活动id")
    private Long marketActivityId;

    @ApiModelProperty("促销活动名称")
    private String marketActivityName;

    @ApiModelProperty("促销活动类型 DC:打折，SP:特价")
    private String marketActivityType;

    @ApiModelProperty("油站id/门店id")
    private Long stationId;

    @ApiModelProperty("油站名称/门店名称")
    private String stationName;

    private List<Long> stationIdList;

    @ApiModelProperty("油企id")
    private Long enterpriseId;

    @ApiModelProperty("油企名称")
    private String enterpriseName;

    @ApiModelProperty("活动是否启用，0:停止，1:启动")
    private String isEnabled;

    @ApiModelProperty("参与商品 0:部分 1:全部")
    private String allOrPart;

    @ApiModelProperty("打折折扣，此处只限于全部商品")
    private Double discountNum;

    @ApiModelProperty("开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;

    @ApiModelProperty("结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    @ApiModelProperty("是否删除 0：未删除 1：已删除")
    private String isDeleted;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    @ApiModelProperty("创建人")
    private Long createUser;

    @ApiModelProperty("更新人")
    private Long updateUser;

    @ApiModelProperty("活动关联商品规则")
    private List<ActivityCommodityRules> activityCommodityRulesList;

    @ApiModelProperty("页码")
    private Integer pageNum;

    @ApiModelProperty("每页条数")
    private Integer pageSize;

    @ApiModelProperty("活动状态 1：进行中 0：未启用")
    private String status;

    @ApiModelProperty("当前时间")
    private String nowTime;

    public Long getMarketActivityId() {
        return marketActivityId;
    }

    public void setMarketActivityId(Long marketActivityId) {
        this.marketActivityId = marketActivityId;
    }

    public String getMarketActivityName() {
        return marketActivityName;
    }

    public void setMarketActivityName(String marketActivityName) {
        this.marketActivityName = marketActivityName == null ? null : marketActivityName.trim();
    }

    public String getMarketActivityType() {
        return marketActivityType;
    }

    public void setMarketActivityType(String marketActivityType) {
        this.marketActivityType = marketActivityType == null ? null : marketActivityType.trim();
    }

    public Long getStationId() {
        return stationId;
    }

    public void setStationId(Long stationId) {
        this.stationId = stationId;
    }

    public List<Long> getStationIdList() {
        return stationIdList;
    }

    public void setStationIdList(List<Long> stationIdList) {
        this.stationIdList = stationIdList;
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName == null ? null : stationName.trim();
    }

    public Long getEnterpriseId() {
        return enterpriseId;
    }

    public void setEnterpriseId(Long enterpriseId) {
        this.enterpriseId = enterpriseId;
    }

    public String getEnterpriseName() {
        return enterpriseName;
    }

    public void setEnterpriseName(String enterpriseName) {
        this.enterpriseName = enterpriseName;
    }

    public String getIsEnabled() {
        return isEnabled;
    }

    public void setIsEnabled(String isEnabled) {
        this.isEnabled = isEnabled == null ? null : isEnabled.trim();
    }

    public String getAllOrPart() {
        return allOrPart;
    }

    public void setAllOrPart(String allOrPart) {
        this.allOrPart = allOrPart == null ? null : allOrPart.trim();
    }

    public Double getDiscountNum() {
        return discountNum;
    }

    public void setDiscountNum(Double discountNum) {
        this.discountNum = discountNum;
    }

    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(String isDeleted) {
        this.isDeleted = isDeleted == null ? null : isDeleted.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public Long getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Long updateUser) {
        this.updateUser = updateUser;
    }

    public List<ActivityCommodityRules> getActivityCommodityRulesList() {
        return activityCommodityRulesList;
    }

    public void setActivityCommodityRulesList(List<ActivityCommodityRules> activityCommodityRulesList) {
        this.activityCommodityRulesList = activityCommodityRulesList;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getNowTime() {
        return nowTime;
    }

    public void setNowTime(String nowTime) {
        this.nowTime = nowTime;
    }
}